<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, width=device-width"
    />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      ul,
      li {
        list-style: none;
      }
      .hairlines {
        width: 300px;
        margin: 100px auto;
      }
      .lines li {
        border: 1px solid #cccccc;
        height: 50px;
        line-height: 50px;
        text-align: center;
        border-radius: 13px;
        margin-top: 10px;
      }
      .hairlines {
        width: 200px;
        margin: 0 auto;
        border-radius: 3px;
      }
      .hairlines li {
        height: 50px;
        line-height: 50px;
        border: none;
        text-align: center;
        position: relative;
        margin-top: 10px;
      }
      .hairlines li:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        border: 1px solid #cccccc;
        border-radius: 26px;
        width: 200%;
        height: 200%;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-transform-origin: left top;
        transform-origin: left top;
      }
    </style>
  </head>
  <body>
    粗线
    <ul class="lines">
      <li>1</li>
      <li>2</li>
    </ul>
    细线
    <ul class="hairlines">
      <li>3</li>
      <li>4</li>
    </ul>
  </body>
</html>
